package org.dromara.learning_lhz.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 选项答案表(AsOptionAnswerEntity)实体类
 *
 * @author makejava
 * @since 2024-08-21 15:07:43
 */
@Data
@TableName("as_option_answer")
public class AsOptionAnswerEntity implements Serializable {

    /**
     * 主键id
     */
    @TableId
    private Long id;
    /**
     * 选项
     */
    private String options;
    /**
     * 答案
     */
    private String answer;
    /**
     * 题目关联id
     */
    private Long topicId;
    @TableField(exist = false)
    private String tempTopicId; // 临时关联ID，用于前端传递数据时的关联

}

